package com.wdc;

import com.wdc.ceiling.LevelOneCeiling;
import com.wdc.ceiling.LevelTwoCeiling;
import com.wdc.coat.DuluxCoat;
import com.wdc.coat.LiBangCoat;
import com.wdc.floor.ShengXiangFloor;
import com.wdc.tile.DongPengTile;
import com.wdc.tile.MarcoPoloTile;

public class Builder {


    //豪华装修风格
    public IMenu leveOne(Double area) {
        return new DecorationPackageMenu(area,"豪华装修")
                 .appendCeiling(new LevelTwoCeiling())
                .appendCoat(new DuluxCoat())
                .appendFloor(new ShengXiangFloor());
    }

    public IMenu levelTwo(Double area){
        return new DecorationPackageMenu(area, "轻奢田园")
                .appendCeiling(new LevelTwoCeiling())   // 吊顶，二级顶
                .appendCoat(new LiBangCoat())           // 涂料，立邦
                .appendTile(new MarcoPoloTile());       // 地砖，马可波罗
    }

    public IMenu levelThree(Double area){
        return new DecorationPackageMenu(area, "现代简约")
                .appendCeiling(new LevelOneCeiling())   // 吊顶，二级顶
                .appendCoat(new LiBangCoat())           // 涂料，立邦
                .appendTile(new DongPengTile());        // 地砖，东鹏
    }



}
